<template>
  <!--路由展示-->
  <Navigation />
  <Theme />
  <div id="all-box">
    <Home />
    <!--站点-->
    <site-footer />
  </div>
</template>
<script setup>
  import SiteFooter from '@/components/SiteFooter'
  import Navigation from '@/components/Navigation'
  import Home from '@/views/Home'

  import { useStore } from 'vuex'
  import { onBeforeMount } from 'vue'
  import * as types from '@/store/mutation-types'

  // 常量
  import { CONSTANT } from '@/assets/config/configuration'
  import Theme from '@/components/theme/Theme'

  const store = new useStore()

  onBeforeMount(() => {
    store.dispatch(
      types.CHANGED_EFAULT_ERROR_IMAGE_URL,
      CONSTANT.HOME_IMAGES_RANDOM_BAC.type || null
    )
  })
</script>

<style lang="scss">
  #message_1 {
    z-index: 99999 !important;
  }
</style>
